[USER (data scientist)]: Now, I want to find the affordable ones, with prices between 300,000 and 600,000. Please filter the 'melbourne_housing' DataFrame to select properties priced between $300,000 and $600,000 from the past 5 years, resulting in a new DataFrame and save it as a pickle file.
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd
import pickle

melbourne_housing = pd.read_csv("melb_data.csv") 

# YOUR SOLUTION BEGIN:
<code1>
[GENERATE YOUR CODE]
</code1>
# YOUR SOLUTION END:

print(affordable_housing_past_5_years)

# save data
pickle.dump(affordable_housing_past_5_years,open("./pred_result/affordable_housing_past_5_years.pkl","wb"))

---END CODE TEMPLATE---

[YOU (AI assistant)]: Alright, you can filter the past 5 years data for affordable housing using this code: 
